home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- doControl()
- if the frame = marker(0) then
- go(the frame)
- end if
- end
-
- on keyDown
- global gMainMovieName, gResellerVersion, gAutoMode, gNextKey, gBackKey, gMenuKey, gRestartKey, gExitKey
- set k to the key
- set kcode to the keyCode
- if k = gNextKey then
- hiliteButton(24)
- drawPaperEndForNext()
- goNext()
- dontPassEvent()
- else
- if k = gBackKey then
- hiliteButton(23)
- cleanupPaper()
- goBack()
- dontPassEvent()
- else
- if k = RETURN then
- if the shiftDown then
- hiliteButton(23)
- cleanupPaper()
- goBack()
- dontPassEvent()
- else
- hiliteButton(24)
- drawPaperEndForNext()
- goNext()
- dontPassEvent()
- end if
- end if
- end if
- end if
- end
-